﻿namespace ApophysisCS
{
    #region Imported Namespaces
    using System;
    using System.Diagnostics;
    using System.Windows.Input;
    using System.Windows.Threading;
    #endregion

    public static class Commands
    {
        #region Members
        private static Dispatcher dispatcher;
        private static RoutedUICommand showEditorCommand;
        #endregion

        #region Constructor
        static Commands()
        {
            dispatcher = Dispatcher.CurrentDispatcher;

            showEditorCommand = new RoutedUICommand("_Editor", "Editor", typeof(Commands));
            showEditorCommand.InputGestures.Add(new KeyGesture(Key.F4));
        }
        #endregion

        public static RoutedUICommand ShowEditor
        {
            [DebuggerStepThrough]
            get { return showEditorCommand; }
        }
    }
}